package session02.bean;

public class WifeBean {
    private int wifeID;
    private String name;

    public WifeBean() {

    }

    public WifeBean(int wifeID, String name) {
        this.wifeID = wifeID;
        this.name = name;
    }

    public int getWifeID() {
        return wifeID;
    }

    public void setWifeID(int wifeID) {
        this.wifeID = wifeID;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    @Override
    public String toString() {
        return "WifeBean{" +
                "wifeID=" + wifeID +
                ", name='" + name + '\'' +
                '}';
    }
}
